local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1
L0_1 = {}
L0_1.group_id = 220010001
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.gadget_id = 70350002
L3_1 = {}
L3_1.x = 28.452
L3_1.y = 12.839
L3_1.z = 48.155
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1002
L3_1.gadget_id = 70360021
L4_1 = {}
L4_1.x = 160.793
L4_1.y = -10.0
L4_1.z = 10.019
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.route_id = 20010012
L4_1 = {}
L4_1.config_id = 1003
L4_1.gadget_id = 70360021
L5_1 = {}
L5_1.x = 160.278
L5_1.y = -36.0
L5_1.z = 55.183
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.route_id = 20010011
L5_1 = {}
L5_1.config_id = 1004
L5_1.gadget_id = 70360021
L6_1 = {}
L6_1.x = 299.617
L6_1.y = -8.0
L6_1.z = 9.202
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.route_id = 20010014
L6_1 = {}
L6_1.config_id = 1005
L6_1.gadget_id = 70360021
L7_1 = {}
L7_1.x = 299.617
L7_1.y = -40.0
L7_1.z = 54.618
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 180.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.route_id = 20010013
L7_1 = {}
L7_1.config_id = 1007
L7_1.gadget_id = 70690006
L8_1 = {}
L8_1.x = 107.564
L8_1.y = 5.201
L8_1.z = 62.076
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 90.0
L8_1.y = 180.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L8_1 = {}
L8_1.config_id = 1008
L8_1.gadget_id = 70690006
L9_1 = {}
L9_1.x = 105.446
L9_1.y = -9.735
L9_1.z = 14.09
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 90.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 1009
L9_1.gadget_id = 70690006
L10_1 = {}
L10_1.x = 231.236
L10_1.y = -33.904
L10_1.z = 54.578
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 90.0
L10_1.y = 180.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 1010
L10_1.gadget_id = 70690006
L11_1 = {}
L11_1.x = 233.413
L11_1.y = -24.319
L11_1.z = 7.33
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 90.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 1011
L11_1.gadget_id = 70360021
L12_1 = {}
L12_1.x = 299.617
L12_1.y = -1.997
L12_1.z = 9.202
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = GadgetState
L12_1 = L12_1.GearStart
L11_1.state = L12_1
L11_1.route_id = 20010014
L12_1 = {}
L12_1.config_id = 1012
L12_1.gadget_id = 70360021
L13_1 = {}
L13_1.x = 299.617
L13_1.y = -45.951
L13_1.z = 54.62
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 180.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.route_id = 20010013
L13_1 = {}
L13_1.config_id = 1013
L13_1.gadget_id = 70360021
L14_1 = {}
L14_1.x = 299.617
L14_1.y = 3.695
L14_1.z = 9.202
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.route_id = 20010014
L14_1 = {}
L14_1.config_id = 1014
L14_1.gadget_id = 70360021
L15_1 = {}
L15_1.x = 299.617
L15_1.y = -51.644
L15_1.z = 54.589
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 180.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.route_id = 20010013
L15_1 = {}
L15_1.config_id = 1015
L15_1.gadget_id = 70360021
L16_1 = {}
L16_1.x = 232.0
L16_1.y = 5.0
L16_1.z = 44.0
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 90.0
L16_1.y = 180.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.route_id = 20010016
L16_1 = {}
L16_1.config_id = 1016
L16_1.gadget_id = 70360021
L17_1 = {}
L17_1.x = 230.0
L17_1.y = 5.0
L17_1.z = 22.0
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 90.0
L17_1.y = 180.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = GadgetState
L17_1 = L17_1.GearStart
L16_1.state = L17_1
L16_1.route_id = 20010017
L17_1 = {}
L17_1.config_id = 1017
L17_1.gadget_id = 70690006
L18_1 = {}
L18_1.x = 208.559
L18_1.y = -42.653
L18_1.z = -22.072
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 90.0
L18_1.y = 180.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 1018
L18_1.gadget_id = 70690006
L19_1 = {}
L19_1.x = 204.498
L19_1.y = -28.26
L19_1.z = -70.075
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 90.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 1019
L19_1.gadget_id = 70900201
L20_1 = {}
L20_1.x = 192.809
L20_1.y = -32.513
L20_1.z = 31.582
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 86.335
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 1020
L20_1.gadget_id = 70900201
L21_1 = {}
L21_1.x = 365.738
L21_1.y = -33.58
L21_1.z = 32.243
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 86.335
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 1021
L21_1.gadget_id = 70690006
L22_1 = {}
L22_1.x = 352.569
L22_1.y = -70.0
L22_1.z = 32.793
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 56
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 20.0
L3_1.y = 15.0
L3_1.z = 30.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = 66.072
L3_1.y = 11.319
L3_1.z = 41.488
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 64
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 20.0
L4_1.y = 10.0
L4_1.z = 20.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = 196.194
L4_1.y = -29.973
L4_1.z = 29.252
L3_1.pos = L4_1
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000056
L2_1.name = "ENTER_REGION_56"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_56"
L2_1.action = "action_EVENT_ENTER_REGION_56"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1000058
L3_1.name = "TIMER_EVENT_58"
L4_1 = EventType
L4_1 = L4_1.EVENT_TIMER_EVENT
L3_1.event = L4_1
L3_1.source = "W1_1"
L3_1.condition = ""
L3_1.action = "action_EVENT_TIMER_EVENT_58"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1000059
L4_1.name = "TIMER_EVENT_59"
L5_1 = EventType
L5_1 = L5_1.EVENT_TIMER_EVENT
L4_1.event = L5_1
L4_1.source = "W1_2"
L4_1.condition = ""
L4_1.action = "action_EVENT_TIMER_EVENT_59"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1000064
L5_1.name = "ENTER_REGION_64"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_64"
L5_1.action = "action_EVENT_ENTER_REGION_64"
L5_1.forbid_guest = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1001
L5_1 = 1002
L6_1 = 1003
L7_1 = 1004
L8_1 = 1005
L9_1 = 1007
L10_1 = 1008
L11_1 = 1009
L12_1 = 1010
L13_1 = 1011
L14_1 = 1012
L15_1 = 1013
L16_1 = 1014
L17_1 = 1015
L18_1 = 1016
L19_1 = 1021
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 56
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_56"
L5_1 = "TIMER_EVENT_58"
L6_1 = "TIMER_EVENT_59"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 1019
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 64
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_64"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 56 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_56 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_56 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1007
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010001
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 1008
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1009
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010001
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 1010
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = 139
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = 140
  L6_2 = GadgetState
  L6_2 = L6_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGroupTimerEvent
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = "W1_2"
  L6_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_TIMER_EVENT_58 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010001
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 1007
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1008
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010001
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 1009
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGroupTimerEvent
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = "W1_1"
  L6_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = 139
  L6_2 = GadgetState
  L6_2 = L6_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220010001
  L5_2 = 140
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_TIMER_EVENT_59 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 64 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_64 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010001
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 1019
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1020
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_64 = L1_1
